package com.chf.job.pojo;

import java.util.Date;

public class Education {
    /** 自增主键 */
    private Integer id;

    /** 简历id */
    private Integer resumeId;

    /** 学校名称 */
    private String schoolName;

    /** 学历 */
    private String record;

    /** 专业名称 */
    private String major;

    /** 开始年份 */
    private String startYear;

    /** 结束年份 */
    private String endYear;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Education(Integer id, Integer resumeId, String schoolName, String record, String major, String startYear, String endYear, Date createTime, Date updateTime) {
        this.id = id;
        this.resumeId = resumeId;
        this.schoolName = schoolName;
        this.record = record;
        this.major = major;
        this.startYear = startYear;
        this.endYear = endYear;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Education() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getResumeId() {
        return resumeId;
    }

    public void setResumeId(Integer resumeId) {
        this.resumeId = resumeId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName == null ? null : schoolName.trim();
    }

    public String getRecord() {
        return record;
    }

    public void setRecord(String record) {
        this.record = record == null ? null : record.trim();
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major == null ? null : major.trim();
    }

    public String getStartYear() {
        return startYear;
    }

    public void setStartYear(String startYear) {
        this.startYear = startYear == null ? null : startYear.trim();
    }

    public String getEndYear() {
        return endYear;
    }

    public void setEndYear(String endYear) {
        this.endYear = endYear == null ? null : endYear.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}